class CreateArticles < ActiveRecord::Migration
  def self.up
    create_table :articles do |t|
      t.integer :issue_id
      t.integer :box_id
      t.string :name
      t.integer :start_page
      t.integer :end_page
      t.integer :number

      t.timestamps
    end
  end

  def self.down
    drop_table :articles
  end
end
